import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import './style.css'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import api from './api'
// 引入pinia
import { createPinia } from 'pinia'

const app = createApp(App);
app.use(Antd);
// 创建pinia实例        
const pinia = createPinia()

// 挂载pinia实例        
app.use(router)
app.use(pinia)
app.config.globalProperties.$axios = axios
app.config.globalProperties.$api = api
app.mount('#app')
